public class Student {
    private String ID;
    private String name;
    private int age;
    private String address;

    //空参构造
    public Student(){
        //空参构造方法
    }

    //有参构造方法
    public Student(String name,int age,String address,String ID){
        this.name=name;
        this.age=age;
        this.address=address;
        this.ID=ID;
    }

    //set和get方法

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getID(){
        return ID;
    }

    public void setID(String ID){
        this.ID=ID;
    }

}
